#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
namespace Cephei.QL.Times
{
    /// <summary> 
	/// ! This class provides methods to inspect dates as well as methods and operators which implement a limited date algebra (increasing and decreasing dates, and calculating their difference).  \ingroup datetime  \test self-consistency of dates, serial numbers, days of month, months, and weekdays is checked over the whole date range.
	/// </summary>
    [Guid ("C18ECD85-50EB-4f6f-A482-22ED36CE681E"),ComVisible(true)]
	public interface IDate 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 DateTime EndOfMonth(DateTime d);
        /// <summary> 
		/// 
		/// </summary>
		 Boolean IsEndOfMonth(DateTime d);
        /// <summary> 
		/// 
		/// </summary>
		 DateTime MaxDate {get;}
        /// <summary> 
		/// 
		/// </summary>
		 DateTime MinDate {get;}
        /// <summary> 
		/// 
		/// </summary>
		 QL.Times.MonthEnum Month {get;}
        /// <summary> 
		/// 
		/// </summary>
		 DateTime NextWeekday(DateTime d, QL.Times.WeekdayEnum w);
        /// <summary> 
		/// 
		/// </summary>
		 Int64 SerialNumber {get;}
        /// <summary> 
		/// 
		/// </summary>
		 DateTime TodaysDate {get;}
        /// <summary> 
		/// 
		/// </summary>
		 QL.Times.WeekdayEnum Weekday {get;}
    }   

    /// <summary> 
	/// ! This class provides methods to inspect dates as well as methods and operators which implement a limited date algebra (increasing and decreasing dates, and calculating their difference).  \ingroup datetime  \test self-consistency of dates, serial numbers, days of month, months, and weekdays is checked over the whole date range. Factory
	/// </summary>
   	[ComVisible(true)]
    public interface IDate_Factory 
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary> 
		/// 
		/// </summary>
	    IDate Create (Int64 serialNumber);
        /// <summary> 
		/// constructors
		/// </summary>
	    IDate Create ();
    }
}

